<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>layui后台管理模板 2.0</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="/public/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="/public/css/public.css" media="all" />
</head>
<body>
<div class="childrenBody">
    <form class="layui-form minor" id="editSysMenuForm">
        <!--隐藏层级-->
        <input type="hidden" value="{{id}}" name="id"/>
        <input type="hidden" value="{{parentId}}" name="parentId"/>
        <input type="hidden" value="{{menuLevel}}" name="menuLevel" />
        <input type="hidden" value="{{enabled}}" name="enabled" />

        <div class="layui-col-lg4 layui-col-sm6">
            <div class="layui-form-item">
                <label class="layui-form-label">菜单名称</label>
                <div class="layui-input-block">
                    <input type="text" name="menuName" value="{{menuName}}" lay-verify="required" placeholder="请输入菜单名称" autocomplete="off" class="layui-input newsTitle">
                </div>
            </div>
        </div>

        <div class="layui-col-lg4 layui-col-sm6">
            <div class="layui-form-item">
                <label class="layui-form-label">菜单编码</label>
                <div class="layui-input-block">
                    <input type="text" name="menuCode" readonly value="{{menuCode}}" lay-verify="required" placeholder="请输入菜单编码" autocomplete="off" class="layui-input newsTitle">
                </div>
            </div>
        </div>

        <div class="layui-col-lg4 layui-col-sm6">
            <div class="layui-form-item">
                <label class="layui-form-label">菜单URL</label>
                <div class="layui-input-block">
                    <input type="text" name="menuUrl" value="{{menuUrl}}" lay-verify="required" placeholder="请输入菜单URL" autocomplete="off" class="layui-input newsTitle">
                </div>
            </div>
        </div>

        <!-- <div class="layui-col-lg4 layui-col-sm6">
             <div class="layui-form-item">
                 <label class="layui-form-label">菜单图标</label>
                 <div class="layui-input-block">
                     <input type="text" name="menuIcon" lay-verify="required" placeholder="请输入菜单图标" autocomplete="off" class="layui-input newsTitle">
                 </div>
             </div>
         </div>-->
        <!--<div class="layui-col-lg4 layui-col-sm6">
            <div class="layui-form-item">
                <label class="layui-form-label">菜单排序</label>
                <div class="layui-input-block">
                    <input type="text" name="sortIndex" value="{{sortIndex}}" lay-verify="required" placeholder="请输入菜单排序" autocomplete="off" class="layui-input newsTitle">
                </div>
            </div>
        </div>-->
       <!-- <div class="layui-col-lg4 layui-col-sm6">
            <div class="layui-form-item">
                <label class="layui-form-label">状态</label>
                <div class="layui-input-block">
                    <input {{if enabled == 1 }} checked {{/if}} type="radio" name="sex" value="男" title="{{enabled}}" />
                    <input type="radio" name="sex" value="女" title="{{enabled}}" />
                </div>
            </div>
        </div>-->
        <div class="layui-col-lg4 layui-col-sm6">
            <div class="layui-form-item">
                <label class="layui-form-label">菜单描述</label>
                <div class="layui-input-block">
                    <textarea placeholder="请输入描述内容，内容仅限200字"  lay-verify="title" name="description"  class="layui-textarea">{{description}}</textarea>
                </div>
            </div>
        </div>

        <div class="layui-col-md12">
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <a class="layui-btn" lay-submit lay-filter="editSysMenu">立即提交</a>
                    <a type="reset" class="layui-btn layui-btn-primary">重置</a>
                </div>
            </div>
        </div>
    </form>
</div>
</body>
</html>
<script src="/public/js/jquery.min.js"></script>
<script type="text/javascript" src="/public/layui/layui.js"></script>
<script type="text/javascript" src="/js/public.function.js"></script>
<script type="text/javascript"  src="js/edit.js"></script>